package com.ruoyi.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.mapper.GasolineExamineMapper;
import com.ruoyi.domain.GasolineExamine;
import com.ruoyi.service.IGasolineExamineService;
import com.ruoyi.common.core.text.Convert;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2020-07-23
 */
@Service
public class GasolineExamineServiceImpl implements IGasolineExamineService 
{
    @Autowired
    private GasolineExamineMapper gasolineExamineMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param eId 【请填写功能名称】ID
     * @return 【请填写功能名称】
     */
    @Override
    public GasolineExamine selectGasolineExamineById(Long eId)
    {
        return gasolineExamineMapper.selectGasolineExamineById(eId);
    }

    /**
     * 通过卡号查询查询【请填写功能名称】
     *
     * @param eChildcard 【请填写功能名称】ID
     * @return 【请填写功能名称】
     */
    public GasolineExamine selectGasolineExamineByeChildcard(String eChildcard){
        return gasolineExamineMapper.selectGasolineExamineByeChildcard(eChildcard);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param gasolineExamine 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<GasolineExamine> selectGasolineExamineList(GasolineExamine gasolineExamine)
    {
        return gasolineExamineMapper.selectGasolineExamineList(gasolineExamine);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param gasolineExamine 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertGasolineExamine(GasolineExamine gasolineExamine)
    {
        return gasolineExamineMapper.insertGasolineExamine(gasolineExamine);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param gasolineExamine 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateGasolineExamine(GasolineExamine gasolineExamine)
    {
        return gasolineExamineMapper.updateGasolineExamine(gasolineExamine);
    }

    /**
     * 删除【请填写功能名称】对象
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    @Override
    public int deleteGasolineExamineByIds(String ids)
    {
        return gasolineExamineMapper.deleteGasolineExamineByIds(Convert.toStrArray(ids));
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param eId 【请填写功能名称】ID
     * @return 结果
     */
    @Override
    public int deleteGasolineExamineById(Long eId)
    {
        return gasolineExamineMapper.deleteGasolineExamineById(eId);
    }
}
